/**
 * @author wyl
 */
function getCurrentTime(timeName)
{
	var nowDate = new Date(); 
	var defaultTime = nowDate.getFullYear();
	var month = nowDate.getMonth()+1;
	if(month<10){
		month="0"+month;
	}
	defaultTime+="-"+(month);
	var day = nowDate.getDate();
	if(day<10){
		day="0"+day;
	}
	defaultTime+="-"+day;
	var hour = nowDate.getHours();
	if(hour<10){
		hour="0"+hour;
	}
	defaultTime+=" "+hour;
	var minute = nowDate.getMinutes();
	if(minute<10){
		minute="0" + minute;
	}
	defaultTime+=":"+minute;
	document.getElementById(timeName).value=defaultTime;
				
}